package com.house.common;

public class BaseContext {
    private static final ThreadLocal<Long> threadLocal = new ThreadLocal<>();

    public static void setThreadUserId(Long threadUserId) {
        threadLocal.set(threadUserId);
    }

    public static Long getThreadUserId() {
        return threadLocal.get();
    }
}
